<template>
  <div>
    <el-button type="primary">查询（二年级）</el-button>
    <tl-tabs :tabList="tabList"></tl-tabs>
  </div>
</template>

<script>
import child from './child.vue'

export default {
  components: { child },
  data() {
    return {
      tabList: [
        { label: '二年级一班', component: child, props: { msg: '二年级一班' } },
        { label: '二年级二班', component: child, props: { msg: '二年级二班' } },
      ],
    }
  },
}
</script>

<style>
</style>